﻿namespace RBAC.API.DTOs
{
    public class UserDTO
    {
        /// <summary>
        /// 用户编号
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string UserPwd { get; set; }

        /// <summary>
        /// 是否启用  true 启用  false 禁用
        /// </summary>
        public bool IsUse { get; set; } = true;
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { get; set; }
        /// <summary>
        /// 账号创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 被选中的角色编号
        /// </summary>
        public string? CheckedRoles { get; set; }
    }
}
